// aids -- std replacement for c++, helper for c++ devman
#ifndef AIDS_HPP
#define AIDS_HPP

#include <cassert>
#include <cctype>
#include <cerrno>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>

namespace st_aids {
// Allocators
struct Mtor {
    template <typename T>
    T *alloc(size_t count, T def = {})
    {
        T *result = static_cast<T*>(malloc(sizeof(T) * count));
        for (size_t i = 0; i < count; ++i) {
            result[i] = def;
        }
        return result;
    }
    // TODO:
};


} // namespace something aids



#endif // header file protect
